package test.java.clone.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author ZCW
 * @createTime 2018/1/16
 * @lastUpdateTime 2018/1/16 ZCW
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Dept implements Cloneable ,Serializable{
    private static final long serialVersionUID = 1L;

    private String name;
    private List<Emp> emps;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
